package ws.performancetest.tests.synchronization.db;

/**
 * This class represents a test category.
 *
 * @author Wilson Santos, 36228 <wilson.santos@ua.pt>
 */
public class DBCategory {

  private int numberOfReaders;
  private int numberOfWriters;

  public DBCategory(int numberOfReaders, int numberofWriters) {
    this.numberOfReaders = numberOfReaders;
    this.numberOfWriters = numberofWriters;
  }

  public int getNumberOfReaders() {
    return numberOfReaders;
  }

  public int getNumberOfWriters() {
    return numberOfWriters;
  }

  @Override
  public String toString() {
    return numberOfReaders + "% / " + numberOfWriters + "%";
  }
}
